
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@page import="com.tss.util.*"%>
<%@page import="com.jedi.*"%>
<%@page import="com.store.*"%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@include file="../global_var.jsp"%>
<%@include file="../check_login.jsp"%>
<%

String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ArticleCateMgr cateMgr = new ArticleCateMgr();
List list = null;
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>神州数码</title>
    
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    
<link href="style/main.css" rel="stylesheet" type="text/css">
<script language="javascript" >
function right_menu_over(mobj) {
	mobj.style.backgroundImage = "url(images/right_menu_bk_01_over.gif)";
}

function right_menu_out(mobj) {
	mobj.style.backgroundImage = "url(images/right_menu_bk_01.gif)";
}

function right_menu_clk(tdObj,sUrl) {
  
  parent.titleFrm.html_lbl_username.innerHTML =tdObj.uname;
  
	parent.mainFrm.location.href = sUrl;
}

</script>

</head>
<body  background="images/index/right_menu_bk.gif"
	leftmargin="5" topmargin="0" marginwidth="0" marginheight="0">
	<table  width="160" border="0" cellspacing="0" cellpadding="0">
<tr>
		<td  height="25" align="center" background="images/right_top_bk_01.gif"
			style="color:#FFFFFF;font-size:13px;">功能列表</td>
	</tr>
</table>

    <table  width="160"  height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><div style="width:100%;height:100%;overflow-x:hidden;overflow-y:scroll">
          <table width="144" border="0" cellspacing="0" cellpadding="0">
  <%
  String otherSQL = " and is_leaf = 0";
  String orderField = "order_id";
  list = cateMgr.get(otherSQL,orderField);
  if (list != null && list.size() > 0) {
  	for(int i=0;i<list.size();i++) {
  		ArticleCategory cateItem = (ArticleCategory)list.get(i);
  %>
            <tr>
              <td height="28" align="center"
			background="images/right_menu_bk_01.gif"  uname="<%=cateItem.getCategoryName()%>"
			onclick="right_menu_clk(this,'know_article_list.jsp?parent_id=<%=cateItem.getId()%>');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;"><%=cateItem.getCategoryName()%></td>
            </tr>
            <%}}%>
            <tr>
              <td height="28" align="center" uname="文章分类管理"
			background="images/right_menu_bk_01.gif"
			onclick="right_menu_clk(this,'know_article_cate_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">文章分类管理</td>
            </tr>
            
            <tr>
              <td height="28" align="center"  uname="软件分类管理"
			background="images/right_menu_bk_01.gif"
			onclick="right_menu_clk(this,'know_soft_cate_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">软件分类管理</td>
            </tr>
            
            <tr>
              <td height="28" align="center"
			background="images/right_menu_bk_01.gif"  uname="软件下载"
			onclick="right_menu_clk(this,'know_soft_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">软件下载</td>
            </tr>
            <tr>
              <td height="28" align="center"
			background="images/right_menu_bk_01.gif"  uname="我要咨询"
			onclick="right_menu_clk(this,'knowledge_msg_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">我要咨询</td>
            </tr>
            <tr>
              <td height="28" align="center"
			background="images/right_menu_bk_01.gif"  uname="文章统计"
			onclick="right_menu_clk(this,'know_article_stat.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">文章统计</td>
            </tr>
                 
            <tr>
              <td height="28" align="center" uname="我的文档"
			background="images/right_menu_bk_01.gif"
			onclick="right_menu_clk(this,'know_article_my_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">我的文档</td>
            </tr>
            <tr>
              <td height="28" align="center" uname="知识库管理"
			background="images/right_menu_bk_01.gif"
			onclick="right_menu_clk(this,'knowledge_list.jsp');"
			onmouseover="right_menu_over(this);"
			onmouseout="right_menu_out(this);" style="cursor:hand;">返回上级</td>
            </tr>
</table>
        </div></td>
      </tr>
    </table>
</body>
</html>
